package com.zhucan.account.infrastructure.exception;

import java.math.BigDecimal;

/**
 * author: zhuCan
 * date: 2020/8/4 21:10
 * description: 账户存钱超上限异常
 */
public class AccountDepositOverrunException extends RuntimeException {

  public AccountDepositOverrunException(BigDecimal overrun) {
    super(String.format("单次存款超过限额 : %s", overrun));
  }

}
